function convertToSlug(value){
		value = value
		.toLowerCase()
		.replace(/^\s+|\s+$/g, "")
		.replace(/[_|\s]+/g, "-")
		.replace(/[^a-z\u0400-\u04FF0-9-]+/g, "")
		.replace(/[-]+/g, "-")
		.replace(/^-+|-+$/g, "")
		.replace(/ +/g,'-')
		;
	
		return value;
	
	}